/*
*所有关于MaterialCatalog类的业务代码接口应在此处编写
*/
using System.Linq.Expressions;
using VOL.Core.BaseProvider;
using VOL.Core.Utilities;
using VOL.Domain.Dto;
using VOL.Entity.DomainModels;
namespace VOL.Domain.IServices
{
    public partial interface IMaterialCatalogService
    {
        List<MaterialCatalogTreeDto> BuildTree(List<MaterialCatalogTreeDto> nodes, int parentId = 0);
        Task<List<MaterialCatalogTreeDto>> GetMaterialCatalogTreeAsync();
        Task<WebResponseContent> CreateUpdateMaterialCatalog(MaterialCatalog materialCatalog);
        Task<bool> DeleteMaterialCatalogAsync(int id);
        Task<WebResponseContent> GetMaterialCatalog();
    }
 }
